home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODFDev / ODF / SL68KDebug / Build next >
Encoding:
Text File  |  1996-09-17  |  1.4 KB  |  48 lines  |  [TEXT/MPS ]

  1. # This script uses a combination of MPW scripts to build 
  2. # the CFM-68K ODFLibrary (debug build)
  3. #
  4. # This script also assumes that you have placed UserStartup•ODF in your MPW folder.
  5.  
  6. ### Tell the FWBuild script where your precompiled header files are located.
  7.  
  8. Set FWPreCompHdrDir "{ODF}SL68KDebug:Precompile∂ Headers:"
  9. Export FWPreCompHdrDir
  10.  
  11. # {FWBldType} - Should be either "Debug" or "Release".
  12.  
  13. Set FWBldType "Debug"
  14. Export FWBldType
  15.  
  16. ##### Resources and SOM
  17. Directory "{ODF}SL68KDebug:"
  18. FWBuild -SymantecCFM "{ODF}ODFLibrary:ODFLibrary.IDE"
  19. FWBuild -SymantecCFM "{ODF}Found:FWRefCnt:ODFRefCnt.IDE"
  20. FWBuild -SymantecCFM "{ODF}Found:FWStream:ODFObjReg.IDE"
  21. FWBuild -SymantecCFM "{ODF}Found:FWString:ODFString.IDE"
  22. FWBuild -SymantecCFM "{ODF}OS:FWFiles:FWFiles.IDE"
  23. FWBuild -SymantecCFM "{ODF}OS:FWResour:FWResour.IDE"
  24. FWBuild -SymantecCFM "{ODF}OS:FWODMisc:FWODMisc.IDE"
  25. FWBuild -SymantecCFM "{ODF}OS:FWToolbx:FWToolbx.IDE"
  26. FWBuild -SymantecCFM "{ODF}Framewrk:FWSemEvt:FWSemEvt.IDE"
  27.  
  28.  
  29. ##### Precompiled headers for shared library only
  30.  
  31. Directory "{ODF}SL68KDebug:"
  32. FWBuild68KCFM "{ODF}PrecompH:PrecompH"    
  33.  
  34. ##### OpenDoc Utility classes (static link library)
  35.  
  36. Echo "∂nBuilding ODUtils"
  37. FWBuild68KCFM "{ODF}Found:ODUtils:ODUtils.LIB"    
  38.  
  39. ##### ODF Library (dynamic link library)
  40.  
  41. Echo "∂nBuilding ODFLibrary"
  42.  
  43. FWBuild -Pre "{ODF}Tools:Mac:MacMake68K.dfn" ∂
  44.         -SymantecCFM -modelCFMSeg ∂
  45.         -LinkOptions '-vercur 17858560 -verdef 16809984' ∂
  46.         "{ODF}"ODFLibrary:ODFLibrary.CFM
  47.  
  48.